<?xml version="1.0" encoding="UTF-8"?> 
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:c="livcos.org/ns/cosmos"
  xmlns:f="livcos.org/ns/xslt/function"
  exclude-result-prefixes="c f">
  
  <xsl:import href="../../common/base.xsl" />
  
  <xsl:template match="/">
    <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
      <ShortName>LivCos</ShortName> 
      <Description>LivCos full-text search within the livcos.org domain.</Description>
    	<xsl:variable name="url" select="resolve-uri($jobObject/c:request/@context-path, $jobObject/c:request/url)"/>
    	<Url type="text/html" method="get" template="{$url}/livcos.org/web/admin/search.html?q={{searchTerms}}"/> 
    	<Url type="text/html" method="get" template="{$url}/livcos.org/web/admin/search.html">
    		<Param name="q" value="{{searchTerms}}"/>
    	</Url> 
    	<Contact>search@livcos.org</Contact> 
      <Tags>livcos fulltext livcos.org</Tags> 
      <LongName>livcos.org full-text search</LongName> 
      <Image height="16" width="16" type="image/x-icon"><xsl:value-of select="$url"/>/favicon.ico</Image> 
      <Query role="example" searchTems="map" /> 
      <Developer>livcos.org</Developer> 
      <Attribution></Attribution> 
      <SyndicationRight></SyndicationRight> 
      <AdultContent>false</AdultContent> 
      <InputEncoding>UTF-8</InputEncoding> 
      <OutputEncoding>UTF-8</OutputEncoding> 
    </OpenSearchDescription>
  </xsl:template>

</xsl:stylesheet>
